<div>
    <div class="bg-white rounded-xl p-6">
        <div class="text-lg">年份归档</div>
        <div class="mt-4">
            @foreach($years as $year)
                <div class="">
                    <a href="/archive/{{ $year }}"
                       class="block bg-gray-50 hover:shadow rounded leading-10 mb-3 px-2 truncate">
                        {{ $year }} 年
                    </a>
                </div>
            @endforeach
        </div>
    </div>
</div>
